import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import 'normalize.css'
import '@/assets/css/base.css'
//全局引入api接口
import api from '@/api/index.js'
Vue.prototype.$api = api
// 全局引入echars
// import * as echarts from 'echarts'
// Vue.prototype.$echarts = echarts

Vue.config.productionTip = false
//全局引入导航面包屑组件，目前的方案是每个页面引入
// import Breadcrumb from '@/components/Breadcrumb.vue'
// Vue.component('Breadcrumb', Breadcrumb)
import JsonExcel from 'vue-json-excel'
Vue.component('downloadExcel', JsonExcel)
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')